<?php


namespace UU\Suite\Kernel\Contracts;


interface EncryptorInterface
{
    public function getAppId(): string;

    public function getToken(): string;

    public function encrypt(string $data, $nonce = null, int $timestamp = null): array;

    public function decrypt(string $ciphertext, string $msgSignature, string $nonce, int $timestamp): string;
}